package com.by.remote.system.Order;

import com.by.bean.Order.Order;
import com.by.common.core.bean.PageBean;
import com.by.common.core.bean.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "we-order")
public interface QueryOrderByCode {

    /**
     * 根据订单编号查询订单列表
     * @param code
     * @return
     */
    @GetMapping("/order/query/code")
    public Order queryOrderByCode(@RequestParam("code")String code);
}
